/**
 * 房间信息
 */
const getbody = require("../others/getbody");

let roomname = 'E14S22'

module.exports = {
    roomname,
    sourcepos: [{
        x: 43,
        y: 8
    }, {
        x: 43,
        y: 29
    }],
    freepos: [
        {
            x: 30,
            y: 7
        }
    ],
    creeps: {
        preventer: {
            num: 1,
            body: [MOVE, MOVE, WORK, CARRY, CARRY],
        },
        harvester: {
            num: 1,
            body: getbody.getBody(roomname),
        },
        repairer: {
            num: 1,
            body: getbody.getBody(roomname),
        },
        builder: {
            num: 1,
            body: getbody.getBody(roomname),
        },
        upgrader: {
            num: 1,
            body: getbody.getBody(roomname),
        },
        puller: {
            num: 0,
            body: [MOVE, MOVE, MOVE, MOVE, MOVE],
        },
        harvester1: {
            num: 0,
            body: [WORK, WORK, WORK, WORK, WORK],
        },
        harvester2: {
            num: 2,
            body: [MOVE, MOVE, MOVE, WORK, WORK, WORK, WORK, WORK, WORK],
        },
        cleaner: {
            num: 1,
            body: [MOVE, MOVE, MOVE, CARRY, CARRY, CARRY],
        },
        carrier: {
            num: 2,
            body: [MOVE, CARRY],
        },
        g_claimer: {
            num: 0,
            body: [MOVE, CLAIM],
        },
        g_carrier: {
            num: 0,
            body: [MOVE, MOVE, MOVE, MOVE, MOVE, MOVE, CARRY, CARRY, CARRY, CARRY, CARRY, CARRY],
        },
        g_builder: {
            num: 0,
            body: [MOVE, MOVE, MOVE, MOVE, WORK, WORK, WORK, WORK, CARRY, CARRY, CARRY, CARRY],
        },
    },
    creepobjs: {
        preventer: require("./creeps/preventer"),
        harvester: require("./creeps/harvester"),
        repairer: require("./creeps/repairer"),
        builder: require("./creeps/builder"),
        upgrader: require("./creeps/upgrader"),
        carrier: require("./creeps/carrier"),
        puller: require("./creeps/puller"),
        harvester1: require("./creeps/harvester1"),
        harvester2: require("./creeps/harvester2"),
        cleaner: require("./creeps/cleaner"),
        g_claimer: require("./creeps/g_claimer"),
        g_carrier: require("./creeps/g_carrier"),
        g_builder: require("./creeps/g_builder"),
        g_harvester: require("./creeps/g_harvester"),
    }
};
